import request from '@/utils/request'

export default {

  getAdminLog(queryParam,pageParam) {
    return request({
      url: '/log/queryAdminLog',
      method: 'post',
      data: {
        ...queryParam,
        current: pageParam.current,
        size: pageParam.size
      }
    })
  },
  getLog(queryParam,pageParam) {
    return request({
      url: '/log/queryLog',
      method: 'post',
      data: {
        ...queryParam,
        current: pageParam.current,
        size: pageParam.size
      }
    })
  },
  deleteLog(data) {
    return request({
      url: '/log/deleteLog',
      method: 'post',
      data
    })
  },
}
